package T3.BusquedaDeRaices;

public class ERisedToXMinusX implements FunctionInterface {
    private float a, b;
    public ERisedToXMinusX(float a, float b) { 
        this.a = a;
        this.b = b; 
    }
    public float evalate(float x) {
        return (float) (a * Math.exp(x) + b * x);
    }

    @Override
    public float evaluate(float x) {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
